/* clock.c */

#include "clock.h"
#include "scrn.h"

int clock_start_offset;

void clock_init(int units)
{
  int clockx;
  clockx = ((320 - units) / 2) & ~3;
  clock_start_offset = clock_TOP * scrn_rowsize + clockx;
  clock_width = units;
  clock_red_width = clock_RED_WIDTH;
}
